package com.ruoyi.swap.openapi.currencyPair.domain;

public class SwapCurrencyPair {

    private int id; // 自增id
    private String currencyPair; // 格式化后的交易对名称 (e.g., btc_swap_usdt)
    private String apiCurrencyPair; // 接口返回的原始交易对名称 (e.g., BTC-SWAP-USDT)
    private boolean statues; // 生存状态 (true for 1, false for 0)

    /**
     * 无参数构造函数，用于框架实例化
     */
    public SwapCurrencyPair() {
    }

    // --- Getters and Setters ---

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCurrencyPair() {
        return currencyPair;
    }

    public void setCurrencyPair(String currencyPair) {
        this.currencyPair = currencyPair;
    }

    public String getApiCurrencyPair() {
        return apiCurrencyPair;
    }

    public void setApiCurrencyPair(String apiCurrencyPair) {
        this.apiCurrencyPair = apiCurrencyPair;
    }

    public boolean isStatues() {
        return statues;
    }

    public void setStatues(boolean statues) {
        this.statues = statues;
    }

    @Override
    public String toString() {
        return "SwapCurrencyPair{" +
                "id=" + id +
                ", currencyPair='" + currencyPair + '\'' +
                ", apiCurrencyPair='" + apiCurrencyPair + '\'' +
                ", statues=" + statues +
                '}';
    }
}